export default {
	"title": '互联网应用开发-在线作业3',
	"testId": '150339',
	"praxiseList": [
		{
			"id": 224000,
			"title": "page指令中的哪个属性可多次出现？",
			"options": "[\"contentType\",\"extends\",\"import\",\"不存在这样的属性\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224001,
			"title": "在当前页面中包含a.htm的正确语句是（）。",
			"options": "[\"<%@include=”a.htm”%>\",\"<jsp:includefile=”a.htm”\\/>\",\"<%@includepage=”a.htm”%>\",\"<%@includefile=”a.htm”%>\"]",
			"answer": "4",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224002,
			"title": "在JSP程序中若想定义一个方法，必须将该方法放在下列哪种标记里？",
			"options": "[\"<%%>\",\"<%@%>\",\"<%!%>\",\"<%----%>\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224003,
			"title": "下列变量声明在（）范围内有效。\n<%!DatedateTime;\nintcountNum;\n%>",
			"options": "[\"从定义开始处有效，客户之间不共享\",\"在整个页面内有效，客户之间不共享\",\"在整个页面内有效，被多个客户共享\",\"从定义开始处有效，被多个客户共享\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224004,
			"title": "include指令用于在JSP页面静态插入一个文件，插入文件可以是JSP页面、HTML网页、文本文件或一段Java代码，但必须保证插入后形成的文件是（）。",
			"options": "[\"是一个完整的HTML文件\",\"是一个完整的JSP文件\",\"是一个完整的TXT文件\",\"是一个完整的Java源文件\"]",
			"answer": "2",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224005,
			"title": "在一个JSP页面代码中一定没有的部分是（）。",
			"options": "[\"javascript代码\",\"JSP指令\",\"JSP动作\",\"HTML代码\"]",
			"answer": "1",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224006,
			"title": "下面哪项可以准确地获取请求页面的一个名称为name的文本框的输入？",
			"options": "[\"request.getParameter（name）\",\"request.getParameter（”name”）\",\"request.getParameterValues(name)\",\"request.getParameterValues(“name”)\"]",
			"answer": "2",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224007,
			"title": "下面哪个方法可使session无效？",
			"options": "[\"session.setAttribute()\",\"session.getAttribute()\",\"session.invalidate()\",\"session.removeAttribute()\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224008,
			"title": "在JSP中，重定向到另一个页面，以下哪项是正确的？",
			"options": "[\"request.sendRedirect(“https:\\/\\/www.hncu.net”);\",\"request.sendRedirect();\",\"response.sendRedirect(“https:\\/\\/www.hncu.net”);\",\"response.sendRedirect();\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224009,
			"title": "在JSP页面中，能够完成输出操作的内置对象是（）。",
			"options": "[\"out\",\"request\",\"response\",\"config\"]",
			"answer": "1",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224010,
			"title": "关于session的使用，下列说话正确的是（）。",
			"options": "[\"不同的用户打开同一个页面具有相同的session\",\"同一用户打开不同的页面窗口具有相同的session\",\"不能禁止session的使用\",\"session永远不可能超时\"]",
			"answer": "2",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224011,
			"title": "JavaBean的生命周期中，哪个是用来跟踪用户会话的？",
			"options": "[\"session\",\"request\",\"page\",\"application\"]",
			"answer": "1",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224012,
			"title": "以下不属于JavaBean作用范围的是（）。",
			"options": "[\"request\",\"session\",\"application\",\"scope\"]",
			"answer": "4",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224013,
			"title": "给定TheBean类，假设还没有创建TheBean类的实例，以下哪些JSP动作语句能创建这个bean的一个新实例，并把它存储在请求作用域？",
			"options": "[\"<jsp:useBeanname=\\\"myBean\\\"type=\\\"com.example.TheBean\\\"\\/>\",\"<jsp:takeBeanname=\\\"myBean\\\"type=\\\"com.example.TheBean\\\"\\/>\",\"<jsp:useBeanid=\\\"myBean\\\"class=\\\"com.example.TheBean\\\"scope=\\\"request\\\"\\/>\",\"<jsp:takeBeanid=\\\"myBean\\\"class=\\\"com.example.TheBean\\\"scope=\\\"request\\\"\\/>\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224014,
			"title": "在JSP页面中，正确引入JavaBean的是（）。",
			"options": "[\"<%jsp:useBeanid=”myBean”scope=”page”class=”pkg.MyBean”%>\",\"<jsp:useBeanname=”myBean”scope=”page”class=”pkg.MyBean”>\",\"<jsp:useBeanid=”myBean”scope=”page”class=”pkg.MyBean”\\/>\",\"<jsp:useBeanname=”myBean”scope=”page”class=”pkg.MyBean”\\/>\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224015,
			"title": "下面哪项不是useBean动作可能的属性值？",
			"options": "[\"contentType\",\"id\",\"scope\",\"class\"]",
			"answer": "1",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224016,
			"title": "在Servlet过滤器的生命周期方法中，每当传递请求或响应时，web容器会调用（）方法。",
			"options": "[\"init\",\"service\",\"doFilter\",\"destroy\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224017,
			"title": "J2EE中，以下关于HttpServlet的说法错误的是（）。",
			"options": "[\"HttpServlet是一个抽象类\",\"HttpServlet类扩展了GenericServlet类\",\"HttpServlet类的子类必须至少重写service方法\",\"HttpServlet位于javax.servlet.http包中\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224018,
			"title": "在Servlet里，能正确获取session的语句是（）。",
			"options": "[\"HttpSessionsession=request.getSession(true);\",\"HttpSessionsession=request.getHttpSession(true);\",\"HttpSessionsession=response.getSession(true);\",\"HttpSessionsession=response.getHttpSession(true);\"]",
			"answer": "1",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224019,
			"title": "可以通过request的sendRedirect方法实现页面重定向。",
			"options": "",
			"answer": "-1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224020,
			"title": "按作用域从大到小排列：application、session、request、page。",
			"options": "",
			"answer": "1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224021,
			"title": "若web项目中有多个页面需要使用某字符串，应使用request.setAttribute()将该字符串保存到request中。",
			"options": "",
			"answer": "-1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224022,
			"title": "表单中的action属性定义了接受页面的地址。",
			"options": "",
			"answer": "1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224023,
			"title": "在进行数据库访问时，使用数据库连接类中的executeQuery()方法，得到数据查询记录集ResultSet。",
			"options": "",
			"answer": "1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224024,
			"title": "JavaBean就是一个特定的Java类。",
			"options": "",
			"answer": "1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224025,
			"title": "在servlet中实现页面转向应使用request.sendRedirect()方法。",
			"options": "",
			"answer": "-1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224026,
			"title": "利用JDBC获取数据库连接时通常使用如语句：DriverManager.getConnection(url,dbuser,dbpass)其中url为数据库驱动的地址。",
			"options": "",
			"answer": "-1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224027,
			"title": "servlet属于MVC(Model-View-Controller)中的视图(view)。",
			"options": "",
			"answer": "-1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224028,
			"title": "表单的提交方法包括get和put。",
			"options": "",
			"answer": "-1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224029,
			"title": "SQL语句只能用于JSP网页设计中。",
			"options": "",
			"answer": "-1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224030,
			"title": "servlet属于MVC(Model-View-Controller)中的视图(view)。",
			"options": "",
			"answer": "-1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224031,
			"title": "EL表达式的语法结构为：${范围.对象.属性}，其默认范围为requestScope。",
			"options": "",
			"answer": "-1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224032,
			"title": "在servlet中可以使用JSTL标签。",
			"options": "",
			"answer": "-1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224033,
			"title": "<c:if>是一个JSTL标签。",
			"options": "",
			"answer": "1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 224034,
			"title": "若要从session中取出对象user，则EL表达式为${session.user}。",
			"options": "",
			"answer": "-1",
			"type": "charge",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:20",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 223993,
			"title": "MVC中的 M    V    C  分别用（）表示。",
			"options": "[\"jsp  servlet javabean\",\"Html  javabean jsp\",\"javabean jsp  servlet\",\"servlet   html jsp\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 223994,
			"title": "以下哪个标签实现了switch功能？",
			"options": "[\"<c:if>\",\"<c:switch>\",\"<c:choose>\",\"<c:case>\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 223995,
			"title": "下面哪项是错误的设置Bean属性值的方法？",
			"options": "[\"<jsp:setPropertyname=\\\"beanInstanceName\\\" property= \\\"*\\\" \\/>\",\"<jsp:setPropertyname=\\\"beanInstanceName\\\" property=\\\"propertyName\\\"value=\\\"123\\\"\\/>\",\"<jsp:setPropertyname=\\\"beanInstanceName\\\" property=\\\"propertyName\\\"param=\\\"parameterName\\\" \\/>\",\"<jsp:setPropertyname=\\\"beanInstanceName\\\" property=\\\"*\\\" value=\\\"{string |<%= expression %>}\\\"\\/>\"]",
			"answer": "4",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 223996,
			"title": "以下（）可用于检索session属性userid的值。",
			"options": "[\"session. getAttribute(“userid”);\",\"session. setAttribute(“userid”);\",\"request. getParameter(“userid”);\",\"request. getAttribute(“userid”);\"]",
			"answer": "1",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 223997,
			"title": "JSP中有三大类标签，分别是（）。",
			"options": "[\"HTML标记   JSP标记   Servlet标记\",\"CSS标记   HTML标记   Javascript标记\",\"动作标记   脚本标记   指令标记\",\"指令标记  脚本标记  HTML标记\"]",
			"answer": "3",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 223998,
			"title": "当一个Servlet首次被请求的时候,服务器首先会调用（    ）方法。",
			"options": "[\"doGet\",\"doPost\",\"doInit\",\"init\"]",
			"answer": "4",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		},
		{
			"id": 223999,
			"title": "哪个动作用于转向另一个页面？",
			"options": "[\"next\",\"forward\",\"include\",\"param\"]",
			"answer": "2",
			"type": "single",
			"hard": 1,
			"explain": null,
			"regtime": "2021-06-24 12:01:19",
			"last_time": null,
			"iscorrect": 0,
			"user_answer": ""
		}
	]
}